package com.ykzb.classify.service.impl;

import com.ykzb.base.service.impl.BaseServiceImpl;
import com.ykzb.classify.dao.IClassifyDao;
import com.ykzb.classify.service.IClassifyService;
import com.ykzb.classify.model.Classify;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

@Service
public class ClassifyServiceImpl extends BaseServiceImpl<Classify,Long> implements IClassifyService
{
    @Autowired
    private IClassifyDao classifyDao;

    /**
     * 查询分类
     * @param param
     * @return
     */
    @Override
    public List<Classify> selectClassify(Map<String,Object> param) {
        return classifyDao.selectClassify(param);
    }
}